#!/bin/awk -f

BEGIN{FS="\t";OFS="\t";}

ARGIND==1{
  a[$1]=$2;
}

ARGIND==2{
  b[$1]=$2;
}

END{
  for (x in a)
  {
    print x, a[x], b[x];
  }
}
